package com.cimpm.project.controller;

import com.cimpm.project.entity.ProjectRole;
import com.hby.common.annotation.aspect.AutoEntityProcess;
import com.hby.common.annotation.handler.AutoRequestBody;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
@RequestMapping("project")
@CrossOrigin
public class ProjectRoleController {

    @RequestMapping("/projectRole")
    @AutoEntityProcess(BUSINESS_CLASS = ProjectRole.class, LOG_MSG = "role", CUSTOM_EXECUTE = true, PERMISSION_TYPE = "5234")
    public Object roleAuto(@AutoRequestBody Map<String, Object> param) {
        return null;
    }

}
